package com.hdoit.apollo.logical.cargo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.tennetcn.data.dao.base.impl.SuperService;
import com.hdoit.apollo.logical.cargo.dao.IPictureDao;
import com.hdoit.apollo.logical.cargo.model.Picture;
import com.hdoit.apollo.logical.cargo.service.IPictureService;
/**
 * @author      tancongzhu
 * @email       
 * @createtime  2018年05月10日 15:08:05
 * @comment
 */
@Component
public class PictureServiceImpl extends SuperService<Picture> implements IPictureService{

	@Autowired
	private IPictureDao pictureDao;
	@Override
	public boolean deleteByCargoId(String cargoId) {
		return pictureDao.deleteByCargoId(cargoId);
	}

}